package test.a02demo2;

public class Person {
    private String id;
    private int age;
    public Person() {
    }
    public Person(String id, int age) {
        this.id = id;
        this.age = age;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public void check(){
        System.out.println("查看课表");
    }
}
